﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SD.Entities;

namespace SD.IBUS
{
    public interface IServiceBIZ
    {
        DataTable GetAll(Boolean includeInactive);
        DataTable GetAllInfo(Boolean includeInactive);
        DataTable GetAllInfoByFilter(String filterExpression, Boolean includeInactive);
        Service GetById(string serviceId);
        Boolean Insert(Service service);
        Boolean Update(Service service);

        Boolean SetActive(string serviceId, bool isActive);
        Boolean IsDuplicateName(String checkedName);
    }
}
